	<div class="wrapper wrapper-content">

		<div class="row">
			<div class="col-lg-12">
				<div class="tabs-container">

					<uib-tabset>
						<uib-tab heading="{{'USER.USER_LIST' | translate}}" >
							<div class="panel-body" ng-controller="UserController">
								<a ng-click="addUser()" class="btn btn-primary btn-rounded btn-outline" href=""><i class="fa fa-plus-circle"></i> {{'USER.ADD_USER' | translate}}</a>
								<table class="table table-bordered table-hover" >
									<thead>
										<tr>
											<th class="text-center">{{'SETTING.ID' | translate}}</th>
											<th class="text-center">{{'USER.USERNAME' | translate}}</th>
											<th class="text-center">{{'USER.DISPLAY_NAME' | translate}}</th>
											<th class="text-center">{{'USER.EMAIL' | translate}}</th>
											<th class="text-center">{{'USER.IS_ADMIN' | translate}}</th>
											<th class="text-center">{{'USER.PRIVILEGE' | translate}}</th>
											<th class="text-center">{{'USER.ACCOUNT_EXPIRATION_DATETIME' | translate}}</th>
											<th class="text-center">{{'USER.PASSWORD_EXPIRATION_DATETIME' | translate}}</th>
											<th class="text-center">{{'SETTING.ACTION' | translate}}</th>
										</tr>
									</thead>
									<tbody>
										<tr ng-repeat="user in users">
											<td class="text-center">{{ user.id }}</td>
											<td class="text-center">{{ user.name }}</td>
											<td class="text-center">{{ user.display_name }}</td>
											<td class="text-center">{{ user.email }}</td>
											<td class="text-center">{{ user.is_admin==1?'Y':'N' }}</td>
											<td class="text-center">{{ user.privilege.name }}</td>
											<td class="text-center">{{ user.account_expiration_datetime }}</td>
											<td class="text-center">{{ user.password_expiration_datetime }}</td>
											<td class="text-center">
												<a class="btn btn-primary btn-rounded btn-xs" ng-click="editUser(user)" >{{'SETTING.EDIT' | translate}}</a>
												<a ng-hide="user.name=='administrator'" class="btn btn-info btn-rounded btn-xs" ng-click="resetPassword(user)" >{{'USER.RESET_PASSWORD' | translate}}</a>
												<a ng-hide="user.name=='administrator'" ng-click="deleteUser(user)" class="btn btn-danger btn-rounded btn-xs" >{{'SETTING.DELETE' | translate}}</a>
												<a ng-hide="!user.is_locked" ng-click="unlockUser(user)" class="btn btn-danger btn-rounded btn-xs" >{{'SETTING.UNLOCK' | translate}}</a>
											</td>
										</tr>
									</tbody>
								</table>
								</div>
							</uib-tab>

						</uib-tabset>

					</div>
				</div>
			</div>



		</div>
